//
// Created by kongkong on 16/9/25.
// Copyright (c) 2016 Kongkong. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "KKResponse.h"
#import "KKRequestProtocol.h"

@interface KKRequestEngine : NSObject <KKRequestProtocol>
+ (KKRequestEngine  * _Nonnull )instance;

- (void)asyncWithRequest:(id<KKRequestProtocol>__nonnull)request completion:(void (^)(KKResponse *__nullable response, id __nullable result))completion;

- (void)setCustomerHead:(NSString * _Nonnull)head forKey:(NSString * _Nonnull)key;
@end
